<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Deluge WebUI ${version}</title>

        <link rel="icon" sizes="16x16" type="image/png"
            href="${base}icons/deluge.png"/>
        <link rel="icon" sizes="32x32" type="image/png"
            href="${base}icons/deluge-32.png"/>
        <!-- For Chrome, Android, iOS and Windows touch shortcuts: -->
        <link rel="icon" sizes="192x192" type="image/png"
            href="${base}icons/deluge-192.png"/>
        <link rel="icon" sizes="512x512" type="image/png"
            href="${base}icons/deluge-512.png"/>
        <link rel="apple-touch-icon-precomposed"
            href="${base}icons/deluge-apple-180.png"/>
        <meta name="msapplication-TileColor" content="#599eee">
        <meta name="theme-color" content="#599eee">

        <!-- Stylesheets -->
        % for stylesheet in stylesheets:
        <link rel="stylesheet" type="text/css" href="${base}${stylesheet}"/>
        % endfor

        <script type="text/javascript">
        deluge = {
            author: 'Deluge Team',
            version: '${version}',
            config: ${js_config}
        }
        </script>

        <!-- Javascript -->
        % for script in scripts:
        <script type="text/javascript" src="${base}${script}"></script>
        % endfor
        <script type="text/javascript">
            Deluge.debug = ${debug};
        </script>
    </head>
    <body>
        <div style="background-image: url('${base}themes/images/default/tree/loading.gif');"></div>

        <!-- Preload icon classes -->
        <div class="ext-mb-error"></div>
        <div class="icon-ok"></div>
    </body>
</html>
